package com.um.jdy.common.market.entity.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.um.springboot.starter.orm.entity.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 满减活动表
 *
 * @TableName market_full_reduce
 */
@TableName(value = "market_full_reduce")
@Data
public class FullReduce extends BaseEntity {

    /**
     * id
     */
    @TableId
    private String marketFullReduceId;

    private String comId;

    /**
     * 活动id
     */
    private String marketActivityId;

    /**
     * 满足金额(分)
     */
    private Integer fullPrice;

    /**
     * 优惠类型：Money-满减金额｜Discount-满减折扣｜Coupon-满赠优惠券｜Goods-满赠商品｜Free-免邮
     */
    private String type;

    /**
     * 满减金额(分)
     */
    private Integer price;

    /**
     * 满减比例（%）
     */
    private Integer scale;

    /**
     * 满赠优惠券id
     */
    private String activityCouponsId;

    /**
     * 满赠商品id
     */
    private String shopGoodsId;

    /**
     * 满赠商品规格id
     */
    private String shopGoodsOptionId;

    /**
     * 使用范围：All-全场可用｜Appoint-指定商品
     */
    private String associatedType;

    /**
     *
     */
    private String isDelete;

    /**
     *
     */
    private Date deleteTime;


}
